<template>
<view class="container">
<uni-nav-bar title="关于我们" left-icon="back"  fixed="true" color="#353535" backgroundColor="#fff" @clickLeft="goback"></uni-nav-bar>
  <view class="icon">
    <image class="img" src="/static/static/images/logo-rec-text.png"></image>
    <text class="title">琅琊严选</text>
    <text class="version">V1.0</text>
  </view>
  <view class="content">
    <view class="item">
      <text class="l">微信公众号</text>
      <text class="r">langyayanxuan</text>
    </view>
    <view class="item noborder">
      <text class="l">关注微博</text>
      <text class="r">langyayanxuan</text>
    </view>
  </view>
  <view class="content">
    <view class="item">
      <text class="l">商务合作</text>
      <text class="r">lyyx@foxmail.com</text>
    </view>
    <view class="item noborder">
      <text class="l">用户交流群</text>
      <text class="r">123456789</text>
    </view>
  </view>
</view>
</template>

<script>
import uniNavBar from "@/components/uni-nav-bar/uni-nav-bar.vue"

export default {
  data() {
    return {};
  },

  components: {uniNavBar},
  props: {},
  onShareAppMessage: function (res) {
    return {
      title: '琅琊严选',
      path: '/pages/index/index'
    };
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {},

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {},

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {},

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {},

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {},

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {},

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {},
  methods: {
	  goback(){
		  uni.navigateBack();
	  }
  }
};
</script>
<style>
/* pages/ucenter/introduce/introduce.wxss */

page {
  background-color: #f1f1f1;
}

.container {
  background-color: #f1f1f1;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  height: 400rpx;
  background-color: #fff;
}

.icon .img{
  width: 120rpx;
  height: 120rpx;
  margin-top: 100rpx;
}

.icon .title{
  color: #353535;
  font-size: 36rpx;
  margin-top: 24rpx;
}

.icon .version {
  color: #888888;
  font-size: 24rpx;
  margin-top: 16rpx;
}

.content {
  margin-top: 20rpx;
  background-color: #fff;
}
.item {
  display: flex;
  flex-direction: row;
  height: 100rpx;
  border-bottom: 1rpx solid #e5e4e5;
  margin-left:30rpx;
  align-items: center;
  padding-right: 30rpx;
}
.item.noborder{
  border: none;
} 
.item .l{
  flex: 1;
  color: #888888;
  font-size: 28rpx;
}
.item .r{
  color: #333333;
  font-size: 28rpx;
}

</style>